package com.heima.common.constants;

public class BehaviorConstans {

    /**
     * redis缓存key：和userId绑定的行为
     */
    public static final String CACHE_END = "_behavior";
    /**
     * redis缓存key:和article绑定的统计
     */
    public static final String ARTICLE_CACHE = "_article";
    /**
     * 点赞
     */
    public static final Integer LIKE = 0;
    /**
     * 取消点赞
     */
    public static final Integer CANCLE_LIKE = 1;
    /**
     * 不喜欢
     */
    public static final Integer NOT_LIKE = 0;
    /**
     * 取消不喜欢
     */
    public static final Integer CANCLE_NOT_LIKE = 1;
    /**
     * 收藏
     */
    public static final Short COLLECTION = 0;
    /**
     * 取消收藏
     */
    public static final Short NOT_COLLECTION = 1;
    /**
     * 行为消息聚合
     */
    public static final String HOT_ARTICLE_AGG_TOPIC = "hot_article_agg_topic";

}
